package com.exrobot.module.rbt.controller.admin.robotappversion.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.exrobot.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.exrobot.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 机器人APP版本分页 Request VO")
@Data
public class RobotAppVersionPageReqVO extends PageParam {

    @Schema(description = "版本号")
    private Integer versionCode;

    @Schema(description = "版本名称", example = "WF")
    private String versionName;

    @Schema(description = "下载地址", example = "https://www.iocoder.cn")
    private String downloadUrl;

    @Schema(description = "更新说明")
    private String releaseNotes;

    @Schema(description = "是否跟新说明")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Boolean[] forceUpdate;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}